package com.ruoyi.project.system.mapper;

import java.util.List;

import com.ruoyi.project.system.domain.SysUserWithdrawal2;

/**
 * 用户申请提现Mapper接口
 *
 * @author jjp
 * @date 2020-04-23
 */
public interface SysUserWithdrawal2Mapper {
    /**
     * 查询用户申请提现
     *
     * @param withdrawalId 用户申请提现ID
     * @return 用户申请提现
     */
    public SysUserWithdrawal2 selectSysUserWithdrawal2ById(Long withdrawalId);

    /**
     * 查询用户申请提现列表
     *
     * @param sysUserWithdrawal2 用户申请提现
     * @return 用户申请提现集合
     */
    public List<SysUserWithdrawal2> selectSysUserWithdrawal2List(SysUserWithdrawal2 sysUserWithdrawal2);

    /**
     * 新增用户申请提现
     *
     * @param sysUserWithdrawal2 用户申请提现
     * @return 结果
     */
    public int insertSysUserWithdrawal2(SysUserWithdrawal2 sysUserWithdrawal2);

    /**
     * 修改用户申请提现
     *
     * @param sysUserWithdrawal2 用户申请提现
     * @return 结果
     */
    public int updateSysUserWithdrawal2(SysUserWithdrawal2 sysUserWithdrawal2);

    /**
     * 删除用户申请提现
     *
     * @param withdrawalId 用户申请提现ID
     * @return 结果
     */
    public int deleteSysUserWithdrawal2ById(Long withdrawalId);

    /**
     * 批量删除用户申请提现
     *
     * @param withdrawalIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysUserWithdrawal2ByIds(Long[] withdrawalIds);

    public List<SysUserWithdrawal2> selectSysUserWithdrawal2ListMoney(Long mobileUserId);
}
